#ifndef CHOOSE_ISLAND_STATE_H
#define CHOOSE_ISLAND_STATE_H

#define W_ISLAND_BUTTON_SPRITE 64
#define H_ISLAND_BUTTON_SPRITE 32

#define X_BUTTON_ISLAND 25
#define Y_BUTTON_ISLAND 150

#define DX_BUTTON 100
#define DY_BUTTON 50

#define W_BUTTON 64
#define H_BUTTON 32

#define NUM_ISLAND 6

#include <vector>
using namespace std;

class Button;
class Texture;
class AnimationSprite;

#include "State.h"

class ChooseIslandState:public State
{
private:
	vector<Button*> buttons;
	AnimationSprite* aniSprite;
	Texture* background;
public:
	ChooseIslandState();
	void Init();
	void Render();
	void TouchUp(int x, int y);
	void TouchDown(int x, int y);
	void OnButtonClick(Button* sender, int e);
	~ChooseIslandState();
};

#endif